Facebook\GraphNodes\GraphNodeFactory S

Total Complexity 40
Dependencies 11
Dependents 1
Total lines 350
Lines of code 115
Logical lines of code 56
Comment lines 169
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
safelyMakeGraphNode()
S
56 6 18
safelyMakeGraphEdge()
S
58 5 13
makeGraphEdge()
S
66 3 8
validateResponseCastableAsGraphNode()
S
67 3 8
validateResponseCastableAsGraphEdge()
S
66 3 8
castAsGraphNodeOrGraphEdge()
S
65 3 9
validateSubclass()
S
69 3 6
validateResponseAsArray()
S
73 2 5
isCastableAsGraphEdge()
S
69 2 6
__construct()
S
76 1 4
makeGraphNode()
S
73 1 5
makeGraphAchievement()
S
79 1 3
makeGraphAlbum()
S
79 1 3
makeGraphPage()
S
79 1 3
makeGraphSessionInfo()
S
79 1 3
makeGraphUser()
S
79 1 3
makeGraphEvent()
S
79 1 3
makeGraphGroup()
S
79 1 3
getMetaData()
S
76 1 4